package com.zzy.logging.commonslog;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class CommonsLogTest {
	private static Log log = LogFactory.getLog(CommonsLogTest.class);

	public void log() {
		log.debug("Debug info.");
		log.info("Info info");
		log.warn("Warn info");
		log.error("Error info");
		log.fatal("Fatal info");
	}

	public static void main(String[] args) {
		CommonsLogTest test = new CommonsLogTest();
		test.log();
	}

}
